<?php
include 'class-student.php';
include 'class-teacher.php';
include 'config.php';
$con = new ConfigDB();
$tch=new Teacher();
$std=new Student();


$forgotteacher=$tch->teacherForgotpassword($_POST['forgot_username'],$_POST['forgot_firstname'],$_POST['forgot_ncuid'],$_POST['forgot_email']);
$forgotstudent=$std->studentForgotpassword($_POST['forgot_username'],$_POST['forgot_firstname'],$_POST['forgot_ncuid'],$_POST['forgot_email']);
//$forgotteacher=$tch->teacherForgotpassword("1","1","1","1");


echo $forgotteacher;
echo $forgotstudent;



?>